<template>
  <div class="user">
    <battle />
  </div>
</template>

<script>
import { debounce } from "lodash";
import battle from "./component/Battle.vue";
export default {
  components: {
    battle,
  },
  name: "User",
  data() {
    return {
      inputValue: "",
    };
  },
  methods: {
    handleEnter: debounce(function () {
      this.$message("输出获取值：" + this.inputValue);
    }, 300),
  },
};
</script>
<style lang="scss" scoped>
.user {
  width: 100%;
  height: 100%;
}
</style>
